package com.cqc.eb;

/**
 * @author cui
 * @description
 * @date 2022/7/14
 **/
public class UserEB {

    private String name;

    private int age;
    //薪资
    private double salary;

    private String sex;

    private String address;


    public UserEB() {
    }

    public UserEB(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public UserEB(String name, int age, double salary) {
        this.name = name;
        this.age = age;
        this.salary = salary;
    }

    public UserEB(String name, int age, double salary, String sex, String address) {
        this.name = name;
        this.age = age;
        this.salary = salary;
        this.sex = sex;
        this.address = address;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "UserEB{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
